package com.namlh.jpa.crud.dao;

import java.util.Collection;

import com.namlh.jpa.crud.domain.User;

public interface UserDao {
	public User findByUserId(String userId);

    public User findByUserName(String userName);

    public Collection<User> findAllOrderedByName();

    public void addUser(User user);
    
    public void editUser(User user);
    
    public void deleteUser(User user);
}
